package com.elastic.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.elastic.bean.Hotel;
import com.elastic.param.QueryHotelParam;
import com.elastic.param.UpdateHotelParam;

import java.util.List;

public interface IHotelService extends IService<Hotel> {

    Hotel getById(Long id);

    List<Hotel> getByIds(List<Long> ids);

    boolean deleteByIds(List<Long> ids);

    Page<Hotel> getPage(QueryHotelParam param);


    boolean updateByIds(List<UpdateHotelParam> params);

}
